<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
    <meta charset="UTF-8" />
    <title>学术活动参与证书 Academic Activity Certificate</title>
    <style>
        /* 移除外部字体导入，使用系统字体 */

        /* 为Flying Saucer定义字体族 */
        @font-face {
            font-family: 'SimSun';
            src: url('C:/Windows/Fonts/simsun.ttc');
        }

        @page {
            size: A4 landscape;
            margin: 0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            width: 1120px;
            height: 790px;
            margin: 0 auto;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            font-family: "SimSun", "Microsoft YaHei", "KaiTi", Arial, sans-serif;
            color: #2c3e50;
            position: relative;
            overflow: hidden;
        }

        /* 装饰性背景元素 */
        .bg-decoration {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 60%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
        }

        /* 主容器 */
        .certificate-container {
            position: relative;
            width: 100%;
            height: 100%;
            border: 15px solid transparent;
            background:
                linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #d4af37, #f39c12, #e74c3c, #9b59b6, #3498db, #2ecc71, #d4af37) border-box;
            box-shadow:
                inset 0 0 0 5px #fff,
                inset 0 0 0 10px #d4af37,
                0 0 50px rgba(0, 0, 0, 0.2);
        }

        /* 内容区域 */
        .certificate-content {
            padding: 40px 60px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            text-align: center;
            position: relative;
        }

        /* 顶部装饰线 */
        .top-ornament {
            width: 200px;
            height: 3px;
            background: linear-gradient(90deg, transparent, #d4af37, transparent);
            margin: 0 auto 20px;
            position: relative;
        }

        .top-ornament::before,
        .top-ornament::after {
            content: '◆';
            position: absolute;
            top: -8px;
            color: #d4af37;
            font-size: 16px;
        }

        .top-ornament::before {
            left: -15px;
        }

        .top-ornament::after {
            right: -15px;
        }

        /* 标题区域 */
        .header {
            margin-bottom: 30px;
        }

        .title-cn {
            font-size: 48px;
            font-weight: 700;
            color: #2c3e50;
            letter-spacing: 8px;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            background: linear-gradient(45deg, #d4af37, #f39c12);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .title-en {
            font-family: "Times New Roman", serif;
            font-size: 24px;
            color: #7f8c8d;
            font-style: italic;
            letter-spacing: 2px;
            font-weight: 400;
        }

        /* 装饰分割线 */
        .divider {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 30px 0;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 2px;
            background: linear-gradient(90deg, transparent, #d4af37, transparent);
        }

        .divider-center {
            margin: 0 20px;
            width: 40px;
            height: 40px;
            border: 2px solid #d4af37;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            color: #d4af37;
            font-size: 18px;
            font-weight: bold;
        }

        /* 主要内容 */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 40px 0;
            position: relative;
            text-align: center;
        }

        .content-wrapper {
            width: 70%;
            max-width: 600px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 0 auto;
        }

        .right-signature {
            position: absolute;
            right: 60px;
            bottom: 100px;
            text-align: right;
            color: #2c3e50;
            font-size: 16px;
            line-height: 1.8;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .signature-seal {
            position: absolute;
            top: -10px;
            right: -30px;
            z-index: 10;
            display: flex;
            justify-content: center;
        }

        .signature-seal .seal {
            width: 100px;
            height: 100px;
            border: 2px solid #d4af37;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.4));
            color: #d4af37;
            font-size: 12px;
            font-weight: bold;
            text-align: center;
            line-height: 1.2;
            position: relative;
            opacity: 0.85;
            box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
        }

        .signature-seal .seal::before {
            content: '';
            position: absolute;
            top: 8px;
            left: 8px;
            right: 8px;
            bottom: 8px;
            border: 1px solid #d4af37;
            border-radius: 50%;
        }

        .signature-info .organization {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #2c3e50;
        }

        .signature-info .date {
            font-size: 14px;
            color: #7f8c8d;
            margin-bottom: 20px;
        }

        .signature-info .signature-line {
            width: 150px;
            height: 1px;
            background: #bdc3c7;
            margin: 0 0 8px auto;
        }

        .signature-info .signature-text {
            font-family: "Times New Roman", serif;
            font-size: 12px;
            color: #7f8c8d;
            font-style: italic;
        }


        .content-text {
            font-size: 22px;
            line-height: 2;
            color: #2c3e50;
            margin-bottom: 30px;
            text-align: center;
        }

        .highlight {
            font-weight: bold;
            color: #e74c3c;
            font-size: 26px;
            position: relative;
            display: inline-block;
            padding: 0 8px;
        }

        .highlight::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, transparent, #e74c3c, transparent);
        }

        .en-content {
            font-family: "Times New Roman", serif;
            font-size: 16px;
            color: #7f8c8d;
            font-style: italic;
            line-height: 1.6;
            margin-top: 25px;
            text-align: center;
        }

        /* 底部区域 */
        .footer {
            display: flex;
            justify-content: flex-start;
            align-items: flex-end;
            margin-top: 40px;
            position: relative;
        }

        .seal-area {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .seal {
            width: 120px;
            height: 120px;
            border: 3px solid #d4af37;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.3));
            color: #d4af37;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            line-height: 1.2;
            margin-bottom: 10px;
            position: relative;
        }

        .seal::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            border: 1px solid #d4af37;
            border-radius: 50%;
        }

        .signature-area {
            text-align: right;
            color: #2c3e50;
        }

        .organization {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #2c3e50;
        }

        .date {
            font-size: 16px;
            color: #7f8c8d;
            margin-bottom: 15px;
        }

        .signature-line {
            width: 200px;
            height: 1px;
            background: #bdc3c7;
            margin-bottom: 5px;
        }

        .signature-text {
            font-family: "Times New Roman", serif;
            font-size: 14px;
            color: #7f8c8d;
            font-style: italic;
        }

        /* 装饰性元素 */
        .corner-decoration {
            position: absolute;
            width: 60px;
            height: 60px;
            border: 2px solid #d4af37;
        }

        .corner-decoration.top-left {
            top: 20px;
            left: 20px;
            border-right: none;
            border-bottom: none;
        }

        .corner-decoration.top-right {
            top: 20px;
            right: 20px;
            border-left: none;
            border-bottom: none;
        }

        .corner-decoration.bottom-left {
            bottom: 20px;
            left: 20px;
            border-right: none;
            border-top: none;
        }

        .corner-decoration.bottom-right {
            bottom: 20px;
            right: 20px;
            border-left: none;
            border-top: none;
        }

        /* 响应式调整 */
        @media print {
            body {
                background: white;
            }

            .bg-decoration {
                display: none;
            }
        }
    </style>
</head>
<body>
    <div class="bg-decoration"></div>

    <div class="certificate-container">
        <div class="certificate-content">
            <!-- 角落装饰 -->
            <div class="corner-decoration top-left"></div>
            <div class="corner-decoration top-right"></div>
            <div class="corner-decoration bottom-left"></div>
            <div class="corner-decoration bottom-right"></div>

            <!-- 顶部装饰 -->
            <div class="top-ornament"></div>

            <!-- 标题区域 -->
            <div class="header">
                <div class="title-cn">学术活动参与证书</div>
                <div class="title-en">Certificate of Academic Activity Participation</div>
            </div>

            <!-- 装饰分割线 -->
            <div class="divider">
                <div class="divider-center">★</div>
            </div>

            <!-- 主要内容 -->
            <div class="main-content">
                <div class="content-wrapper">
                    <div class="content-text">
                        兹证明 <span class="highlight">{{name}}</span> 同学<br />
                        积极参与了 <span class="highlight">{{activityName}}</span> 学术活动<br />
                        在活动期间表现优秀，学习态度认真，收获颇丰<br />
                        特此证明，以资鼓励
                    </div>

                    <div class="en-content">
                        This is to certify that <strong>{{name}}</strong> has actively participated in<br />
                        the academic activity "<strong>{{activityName}}</strong>" with excellent performance<br />
                        and demonstrated a serious learning attitude with fruitful achievements.<br />
                        This certificate is hereby issued in recognition and encouragement.
                    </div>
                </div>

                <!-- 右侧签发信息 -->
                <div class="right-signature">
                    <!-- 印章 -->
                    <div class="signature-seal">
                        <div class="seal">
                            湖北工程学院<br />
                            学生活动中心<br />
                            官方印章
                        </div>
                    </div>

                    <!-- 签发信息 -->
                    <div class="signature-info">
                        <div class="organization">湖北工程学院学生活动中心</div>
                        <div class="date" style="font-weight: 800;color:#000000;">颁发日期：{{date}}</div>
                        <div class="signature-line"></div>
                        <div class="signature-text">Authorized Signature</div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</body>
</html>